package com.koron.plan.web.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import com.koron.plan.web.feign.dto.IntactRatioDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "eam-service-operation",fallbackFactory = FeignFallbackFactory.class)
public interface OperationFeign {
    @PostMapping("/intactratio/intactRatioDetails")
    Response<Object> intactRatioDetails(@RequestBody IntactRatioDto dto);
}
